package com.alks.function.data.dto.procurement;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@NoArgsConstructor
@ToString
public class PcPackOtherDto {

    @ApiModelProperty(value = "自增id")
    private Integer id;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "包材类别")
    private String typeName;

    @ApiModelProperty(value = "料号")
    private String mtlNo;

    @ApiModelProperty(value = "材料名称")
    private String mtlName;

    @ApiModelProperty(value = "规格")
    private String mtlSpec;

    @ApiModelProperty(value = "单位")
    private String mtlUnit;

    @ApiModelProperty(value = "用量")
    private BigDecimal ttlUsage;

    @ApiModelProperty(value = "订购数量")
    private int purQty;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;


    @ApiModelProperty(value = "客供/通用 标志:勾选前端传1（Y），不勾选前端传2")
    private String purFlag;

    //已订购明细字段
    @ApiModelProperty(value = "订购单号")
    private String purNo;

    @ApiModelProperty(value = "订购日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date purDate;

    @ApiModelProperty(value = "厂商")
    private String vendorName;

    @ApiModelProperty(value = "需求日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date reqDate;

    @ApiModelProperty(value = "备注")
    private String purRemark;

    @ApiModelProperty(value = "包材类别序号")
    private BigDecimal seqNo;

    @ApiModelProperty(value = "公司id")
    private String companyId;

    @ApiModelProperty(value = "厂商ID")
    private String vendorNo;

    private String currency;

    private BigDecimal payDays;

    private String invoiceType;

    private String size1;

    private String size2;


    //新增其他包材订购
    @ApiModelProperty(value = "请购类型")
    private String purType;

    private String purDateString;

    private String reqDateString;

    private String size1size2;


}
